﻿using Mengsk.ProxyDelivery.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Mengsk.ProxyDelivery.App.UI.Delivery
{
    class OrderRefusedViewModel : DependencyObject
    {
        public static readonly DependencyProperty IdProperty = DependencyProperty.Register("Id", typeof(int), typeof(OrderRefusedViewModel));
        public static readonly DependencyProperty CommentProperty = DependencyProperty.Register("Comment", typeof(string), typeof(OrderRefusedViewModel));
        public static readonly DependencyProperty StateProperty = DependencyProperty.Register("State", typeof(string), typeof(OrderRefusedViewModel));

        public OrderChangeType Type { get; set; }

        public int Id { get { return (int)this.GetValue(IdProperty); } set { this.SetValue(IdProperty, value); } }

        public string OrderGoodsInfo { get; set; }

        public string DeliveryCompany { get; set; }

        public string DeliveryNumber { get; set; }

        public string Image { get; set; }

        public string State { get { return (string)this.GetValue(StateProperty); } set { this.SetValue(StateProperty, value); } }

        public string Action { get; set; }

        public string Comment { get { return (string)this.GetValue(CommentProperty); } set { this.SetValue(CommentProperty, value); } }

        public int SellerId { get; set; }

        public OrderGoods Source { get; set; }

        public OrderChange OrderChange { get; set; }

        public bool ModifiedPopComment { get; set; }

        public bool CreateArriveInDelivery { get; set; }
    }
}
